<?php
// domain & page
$site['domain'] 		= $_SERVER['HTTP_HOST'];
$site['page']['label'] 	= 'home';


//front-end activation
//$site['admin']['activate'] = (isset($_SESSION["admin"]) && $_SESSION["admin"] ? true : false);
//$site['debug']['activate'] = (isset($_SESSION["debug"]) && $_SESSION["debug"] ? true : false);
$site['admin']['activate'] = (isset($_COOKIE["cawebfladmin"]) && $_COOKIE["cawebfladmin"]==1 ? true : false);
$site['debug']['activate'] = (isset($_COOKIE["cawebfldebug"]) && $_COOKIE["cawebfldebug"]==1 ? true : false);


// Data Base
$site['db'] = include('db.ini.php');


// Filesystem path
$site['path'] = include('path.ini.php');


// Class core
$site['class'] = include('class.ini.php');

// js
$site['js'] = include('js.ini.php');
return $site;
?>